.header {
    height: 120px;
    padding: 20px;
    flex: 1;
}

.headerLeft {
    flex: 1;
    flex-direction: column;
}

.titleBox {
    height: 65px;
    margin-bottom: 12px;
    align-items: center;
    justify-content: space-between;
}
.title {
    flex: 1;
    font-size: 46px;
    color: #1a1a1a;
}

.share {
    width: 40px;
    height: 40px;
    position: relative;
    & :nth-child(2) {
        width: 56px;
        height: 28px;
        position: absolute;
        top: -10px;
        right: 18px;
    }

    & :nth-child(1) {
        width: 38px;
        height: 38px;
    }
}

.headerRight {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    background-color: aqua;
    margin-left: 20px;
    & > img {
        width: 120px;
        height: 120px;
    }
}
.welcome {
    & :nth-child(1) {
        padding: 0 8px;
        font-size: 20px;
        color: #fff;
        height: 34px;
        background: #edb159;
        border-radius: 17px;
        align-items: center;
        & > img {
            width: 27px;
            height: 27px;
        }
    }
    & :nth-child(2) {
        font-size: 22px;
        color: #999999;
        padding-left: 16px;
    }
}

// 券
.ticket {
    width: 120px;
    height: 40px;
    font-size: 22px;
    background-color: #ef0000;
    border-radius: 3px;
    color: #fff;
    margin-right: 12px;
    align-items: center;
    justify-content: space-around;

    & > div {
        justify-content: space-around;
    }
}

// 优惠信息
.info {
    padding: 20px;
    align-items: center;
    font-size: 22px;
    color: #999999;

    & :nth-child(1) {
        width: 30px;
        height: 30px;
        margin-right: 18px;
    }
    & :nth-child(2) {
        flex: 1;
    }
}

// tabs
.bodyBox {
    flex-direction: column;
    height: calc(100% - 270px - 96px);
}
.tabs {
    height: 80px;
    font-size: 32px;
    color: #999999;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
    & > div {
        width: 120px;
        height: 80px;
        padding-right: 60px;
        align-items: center;
        justify-content: center;
    }
    & :last-child {
        padding: 0;
    }
    .active {
        flex-direction: column;
        color: #1a1a1a;
        position: relative;

        & > div {
            width: 50px;
            border: 2px solid #ff4d3a;
            position: absolute;
            bottom: 0;
        }
    }
    .search {
        width: 128px;
        height: 56px;
        border: 1px solid #cccccc;
        border-radius: 28px;
        align-items: center;
        justify-content: center;
        font-size: 25px;
        color: #666666;

        & > img {
            width: 26px;
            height: 26px;
        }
    }
}

// 内容展示
.content {
    flex: 1;
}

// leftContent
.leftContent {
    width: 156px;
    flex-direction: column;
    .discount {
        align-items: center;
        & > img {
            width: 28px;
            height: 28px;
            padding-right: 15px;
        }
    }
}

.rightContent {
    flex: 1;
    padding: 20px;
    flex-direction: column;
    .vip {
        width: 100%;
        padding-bottom: 21%;
        margin-bottom: 20px;
        background: url("../assets/vip.jpg") center center/cover no-repeat;
    }
}
// card

.card {
    width: calc(100% - 40px);
    height: 100px;
    //min-height: 80px;
    padding: 20px;
    font-size: 24px;
    color: #666666;
    align-items: center;
    position: relative;
    background: #f5f5f5;

    .news {
        width: 30px;
        height: 30px;
        font-size: 18px;
        color: #fff;
        background: #ff4d3a;
        border-radius: 15px;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 17px;
        right: 17px;
    }

    .twoTitle {
    }
}

.cardActive {
    background: #fff;
}

// 商品
.comm {
    padding: 20px 0;
    .commHead {
        width: 156px;
        height: 156px;
        border-radius: 10px;
        background: #ddd;
        margin-right: 18px;
        & > img {
            width: 100%;
            height: 100%;
        }
    }
    .commMsg {
        flex: 1;
        flex-direction: column;
        .msgTitle {
            font-size: 28px;
            color: #1a1a1a;
        }
        .msgRemind {
            font-size: 22px;
            color: #ff4d3a;
            padding-top: 4px;
            & > :nth-child(1) {
                padding-right: 8px;
            }
        }
    }
    .piceAcount {
        flex: 1;
        justify-content: space-between;
    }
    .price {
        font-size: 36px;
        color: #ff4d3a;
        align-items: flex-end;
        & > :nth-child(1) {
            font-size: 24px;
        }
        s {
            font-size: 24px;
            padding-left: 8px;
            color: #cccccc;
        }
    }
    .count {
        align-items: flex-end;
        & > :nth-child(1) {
            width: 46px;
            height: 46px;
            & > img {
                width: 100%;
                height: 100%;
            }
        }
        & > :nth-child(2) {
            width: 46px;
            height: 46px;
            font-size: 28px;
            color: #cccccc;
            align-items: center;
            justify-content: center;
        }
        & > :nth-child(3) {
            width: 46px;
            height: 46px;
            & > img {
                width: 100%;
                height: 100%;
            }
        }
    }
}

.footer {
    width: 100%;
    height: 96px;
    .footerLeft {
        background-color: #444;
        width: 520px;
        position: relative;

        .circle {
            position: absolute;
            width: 120px;
            height: 120px;
            border-radius: 60px;
            background-color: #ff4d3a;
            margin-left: 20px;
            bottom: 20px;
            line-height: 120px;
            //text-align: center;
            img {
                //position: absolute;
                width: 108px;
                height: 100px;
                margin: 50% auto;
                transform: translateY(-50%);
                //top: 0;
                //bottom: 0;
                //left: 0;
                //right: 0;
                //transform: translate(-50%,-50%);
            }
        }

        .FooterPrice {
            margin-left: 145px;
            font-size: 40px;
            color: #ffffff;
            align-items: center;
        }
    }

    .footerRight {
        background-color: #ff4d3a;
        width: 230px;
        line-height: 96px;
        display: inline-block;
        margin: 0 auto;
        font-size: 32px;
        color: #fff;
    }
}
